Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implements the nodes/full_types endpoint for the FastAPI #73

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

agoscinski
Copy link
Collaborator

@agoscinski agoscinski commented Nov 19, 2024

We skip GraphQL for now. The logic is mainly copied from aiida-core with slight adaptations to
resolve type checker errors.

@agoscinski agoscinski changed the title Implements the nodes/full_types endpoint for the FastAPI Implements the nodes/full_types endpoint for the FastAPI Nov 19, 2024
@agoscinski agoscinski force-pushed the nodes-full_types-endpoint branch 3 times, most recently from 2e77185 to f3907d7 Compare November 21, 2024 08:53
@agoscinski agoscinski marked this pull request as ready for review November 21, 2024 08:53
Copy link
Member

@eimrek eimrek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks @agoscinski

The endpoint fails for my use case, due to a CalcJobNode.

tests/test_nodes.py Outdated Show resolved Hide resolved
The logic is mainly copied from aiida-core with slight adaptations to
resolve type checker errors.
The disadvantage of removing the `pull_request` as trigger event for an
GitHub workflow is that it does not trigger for pushes from a foreign
repo. To run the workflow also in this case without running the workflow
twice for PRs based on the original repo we introduce an if case that
runs the `pull_request` event only when it from a foreign repo.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants